package com.peng.dian.service;


import com.peng.dian.pojo.Employee1;
import com.peng.dian.pojo.Employee2;
import org.springframework.stereotype.Service;

import java.util.List;


public interface EmployeeService {
    List<Employee1> queryEmployee();

    Employee1 queryEmployeeById(int id);

    int addEmployee(Employee1 employee1);

    int updateEmployee(Employee1 employee1);

    int deleteEmployee(int id);

    List<Employee2> queryEmployee2();

    Employee2 queryEmployeeName(String name);

}
